package com.cloud.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import io.swagger.annotations.ApiOperation;

/**
  * @Author wangjian (jian.wang@bertelsmann.com.cn)
  * @Date 2016/11/15 10:48
  */
@RestController
class IndexController {


    @ApiOperation(value="首页信息",notes="spring cloud index controller")
    @RequestMapping("/hello")
    public String hello() {
        return "hello, sping Cloud!";
    }

}
